home *** CD-ROM | disk | FTP | other *** search
- SPECTRUM Robert L. Hummel
- Command 1987/No. 12 (Lab Notes)
-
- ______________________________________________________
-
- Purpose: Provides existing software with a selectable
- 16-color palette (from among 64 displayable
- colors) when used with an Enhanced Graphics
- Adapter and an Enhanced Graphics (or similar)
- monitor.
-
- Format: [d:][path]SPECTRUM
-
- or (see second format, below)
-
- [d:][path]SPECTRUM xx xx xx xx xx xx xx xx xx
- xx xx xx xx xx xx xx
-
- Remarks: SPECTRUM is a memory-resident utility that is
- normally loaded as part of your AUTOEXEC.BAT
- file. Once loaded, pressing Ctrl-` (the Ctrl
- key and the grave [reverse] accent key) pops
- up a display of 16 color boxes, each of which
- may be set, on-screen, to any of the 64
- displayable values. The cursor pad keys are
- then used, as described in the display, to
- select any of the boxes and their 2-digit
- color codes. Pressing the End key saves the
- current color selections and returns you to
- your application. Home resets the color
- palette to its default values, and Esc aborts
- any changes made, restoring your previous
- color settings.
-
- For loading or changing the SPECTRUM palette
- without using the pop-up window (e.g., as
- part of a batch file), the second Format
- above may be used. The values for x may
- range from 0 through 7 and must be entered in
- pairs ON A SINGLE LINE (not on two lines, as
- shown). A single space must separate each of
- the 16 pairs of digits, and a single space
- must also separate the number-pairs from the
- command name. Use the pop-up window to
- determine the proper number-pairs initially.
-
- Notes:
- 1. Software programs that write directly to
- the EGA registers will override the
- SPECTRUM color selections. The SPECTRUM
- colors may be restored, if lost, by
- activating the display window (Ctrl-`)
- and then pressing the Esc key.
-
- 2. EGACOSET.COM, is an
- alternative program to SPECTRUM.COM.